<?php
	class models_menu extends connect
	{					
		 
		function listmenunam()
		{
			$sql="SELECT TenLH,MaLH
                  FROM loaihang
                  WHERE MaCL=1";
			$this->query_db($sql);
			return $this->fetchAll();
		}
		 
		function listmenunu()
		{
			$sql="SELECT TenLH,MaLH
                  FROM loaihang
                  WHERE MaCL=2";
			$this->query_db($sql);
			return $this->fetchAll();
		}
		
		function listmenutreem()
		{
			$sql="SELECT TenLH,MaLH
                  FROM loaihang
                  WHERE MaCL=3";
			$this->query_db($sql);
			return $this->fetchAll();
		}
	}
	
?>